<%@ page contentType="text/html; charset=UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="/web/css/shra.css"></link>
<link rel="stylesheet" type="text/css" href="/web/css/style.css"></link>
<script type="text/javascript" src="/web/js/show.js"></script>
<script type="text/javascript" src="/web/js/proving.js"></script>
<title>我要报名</title>
</head>

<body>
<div id="allpage">
	<div id="listtop">
		<script type="text/javascript" src="/web/js/nav.js"></script>
	</div>
	<div id="listmain">
		<script type="text/javascript" src="left.js"></script>
		<div class="list_content">
			<div class="list_content_name">
				<img src="/web/images/title_zxbm.jpg" width="191" height="43" />
			</div>
			<div class="bgtop">
				<img src="/web/images/secondc2.jpg" />
			</div>
			<form name="form" action="/recruit/recruit_signup.seam" method="post"  >
			<div class="list_content_pose">
				<h1 class="bigtitle">填写个人信息</h1>
				<ul class="list_from">
					<li>
						<h1>学生姓名：</h1>
						<span>
							<input name="studentName" type="text" />
						</span>
					</li>
					<li>
						<h1>学生年龄：</h1>
						<span>
							<input type="radio" name="studentAge" value="3"/>3周岁
							<input type="radio" name="studentAge" value="4" checked="checked" />4周岁
							<input type="radio" name="studentAge" value="5" />5周岁
							<input type="radio" name="studentAge" value="6" />6周岁
							<input type="radio" name="studentAge" value="7" />7周岁
							<input type="radio" name="studentAge" value="8" />8周岁
						</span>
					</li>
					<li>
						<h1>家长姓名：</h1>
						<span>
							<input name="studentParentName" type="text" />
						</span>
					</li>
					<li>
						<h1>家长电话：</h1>
						<span>
							<input name="studentParentCall" type="text" />
						</span>
					</li>
					<li>
						<h1>家长邮箱：</h1>
						<span>
							<input name="studentParentMail" type="text" />
						</span>
					</li> 
					<li>
						<h1>家庭住址：</h1>
						<span>
							<input type="text" name="studentHomeAddress" size="50" />
						</span>
					</li>
					<li>
						<h1>学生情况说明：</h1>
						<span>
							<textarea name="studentIntroduction" cols="50" rows="5"></textarea>
						</span>
					</li>
					<li>
						<h1>
							<input name="studentState" type="hidden" value="0" />
							<input type="button" value="提　交" class="tijiao" onclick="CheckForm()"/>
						</h1>
						<h1>
							<input type="reset" value="重　置" class="tijiao" />
						</h1>
					</li>				
				</ul>
			</div>
			</form>
			<div class="bgbot"><img src="/web/images/second_r42.jpg" /></div>
		</div>
	</div>			
	<script type="text/javascript" src="/web/js/foot.js"></script>
</div>
</body>
</html>
<script language="javascript" >
function CheckForm(){
	if(isNull(document.form.studentName.value)){
	   	alert("学生姓名不能为空,请重新输入！"); 
	   	document.form.studentName.focus(); 
	}else if(!isValidTrueName(document.form.studentName.value)){
	   	alert("请输入真实学生姓名！"); 
	   	document.form.studentName.focus();   
	}else if(isNull(document.form.studentParentName.value)){
	   	alert("家长姓名不能为空,请重新输入！"); 
	   	document.form.studentParentName.focus();  
	}else if(!isValidTrueName(document.form.studentParentName.value)){
	   	alert("请输入真实家长姓名！"); 
	   	document.form.studentParentName.focus();   
	}else if(isTel(document.form.studentParentCall.value)){
	   	alert("请输入正确电话号码！"); 
	   	document.form.studentParentCall.focus();
	}else if(isEmail(document.form.studentParentMail.value)){
	   	alert("邮箱输入不符合规则，请重新输入！"); 
	   	document.form.studentParentMail.focus(); 
	}else{
		document.form.submit();
	}
} 
</script>